var allOutlets :[UIView]{
    return [{{ fields|map(attribute='field_name')|join(',') }}]
}
{% for grouper,fields in fields|groupby('type_class') %}
var all{{grouper}}Outlets :[{{grouper}}]{
    return [{{ fields|map(attribute='field_name')|join(',') }}]
}
{% endfor %}